Sponsored Content
Special Forums IP Networking Bypassing My Company Firewall! Post 302559020 by Neo on Monday 26th of September 2011 05:44:48 AM
Old 09-26-2011
Sorry, we do not provide info here that can be used to bypass your companies security polices.
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bypassing error in tar

I am tarring up a directory and then deleting the contents. I get a message that the file changed as tar was reading it, then my script fails on an error. tar: /workdir/SRD.out.20080216: file changed as we read it tar: Error exit delayed from previous errors tar command failed, nothing... (1 Reply)
Discussion started by: prismtx
1 Replies

2. AIX

"ksh -" as login shell bypassing .profile

Hi all, I am currently trying to tell /bin/ksh to behave like a login shell. I am invoking it from an interactive shell. In the documentation is stated, that calling it with exec ksh - it should behave like a login shell, work 1st on /etc/profile, ~/.profile and so on. I tried that with... (0 Replies)
Discussion started by: zaxxon
0 Replies

3. Shell Programming and Scripting

who, w and company

What are some of the ways to get valid who data? There's who and w but I have cases where we login as mailadmin or dbadmin and I want to trace those logins back as far as possible. We have mixed access to the env. Some use VPN client, some use ssh to a single host and then login to other... (4 Replies)
Discussion started by: star_man
4 Replies

4. AIX

Extract data from DB2 tables and FTP it to outside company's firewall

Please help me in creating the script in AIX. requirement is; The new component's main function is to extract the data from DB2 tables and company's firewall directly. The component function needs to check the timestamp in the DB2 tables ((CREDAT and CRETIM) with the requested timestamp and... (1 Reply)
Discussion started by: priyanka3006
1 Replies

5. UNIX for Advanced & Expert Users

Bypassing blocking of websites...

So my workplace uses websense to block certain websites. I read while researching firesheep, that you can somehow bypass that by creating a proxy, and thus: #1 protect yourself from people using firesheep (if using unsecure hot-spot) and #2 or visit un-approved websites at work. I... (1 Reply)
Discussion started by: zixzix01
1 Replies

6. Shell Programming and Scripting

Remoting sudo commands & bypassing bashrc

What I want to do is not unique, except that our environment has a twist. I want to ssh to a remote server and issue a sudo command to run a script. This isn't working, but you'll get the gist.# ssh remotehost sudo -i -u oracle script.bashThe sudo to oracle is fine. The script.bash sets up the... (4 Replies)
Discussion started by: JustaDude
4 Replies

7. AIX

Do not allow bypassing users .profile

Hello, I find out that there is a way from putty to pass a command to your shell when trying to log in to a server and bypass .profile. Actually you can do this if you open a bash shell. The command to bypass .profile is the following: ssh -t hostname "bash --noprofile" Is there a way to... (32 Replies)
Discussion started by: omonoiatis9
32 Replies
Tcl_SetChannelError(3)					      Tcl Library Procedures					    Tcl_SetChannelError(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_SetChannelError, Tcl_SetChannelErrorInterp, Tcl_GetChannelError, Tcl_GetChannelErrorInterp - functions to create/intercept Tcl errors by channel drivers. SYNOPSIS
#include <tcl.h> void Tcl_SetChannelError(chan, msg) void Tcl_SetChannelErrorInterp(interp, msg) void Tcl_GetChannelError(chan, msgPtr) void Tcl_GetChannelErrorInterp(interp, msgPtr) ARGUMENTS
Tcl_Channel chan (in) Refers to the Tcl channel whose bypass area is accessed. Tcl_Interp* interp (in) Refers to the Tcl interpreter whose bypass area is accessed. Tcl_Obj* msg (in) Error message put into a bypass area. A list of return options and values, followed by a string message. Both message and the option/value information are optional. Tcl_Obj** msgPtr (out) Reference to a place where the message stored in the accessed bypass area can be stored in. _________________________________________________________________ DESCRIPTION
The current definition of a Tcl channel driver does not permit the direct return of arbitrary error messages, except for the setting and retrieval of channel options. All other functions are restricted to POSIX error codes. The functions described here overcome this limitation. Channel drivers are allowed to use Tcl_SetChannelError and Tcl_SetChannelErrorInterp to place arbitrary error messages in bypass areas defined for channels and interpreters. And the generic I/O layer uses Tcl_GetChannelError and Tcl_GetChannelErrorInterp to look for messages in the bypass areas and arrange for their return as errors. The posix error codes set by a driver are used now if and only if no messages are present. Tcl_SetChannelError stores error information in the bypass area of the specified channel. The number of references to the msg object goes up by one. Previously stored information will be discarded, by releasing the reference held by the channel. The channel reference must not be NULL. Tcl_SetChannelErrorInterp stores error information in the bypass area of the specified interpreter. The number of references to the msg object goes up by one. Previously stored information will be discarded, by releasing the reference held by the interpreter. The interpreter reference must not be NULL. Tcl_GetChannelError places either the error message held in the bypass area of the specified channel into msgPtr, or NULL; and resets the bypass. I.e. after an invocation all following invocations will return NULL, until an intervening invocation of Tcl_SetChannelError with a non-NULL message. The msgPtr must not be NULL. The reference count of the message is not touched. The reference previously held by the channel is now held by the caller of the function and it is its responsibility to release that reference when it is done with the object. Tcl_GetChannelErrorInterp places either the error message held in the bypass area of the specified interpreter into msgPtr, or NULL; and resets the bypass. I.e. after an invocation all following invocations will return NULL, until an intervening invocation of Tcl_SetChannel- ErrorInterp with a non-NULL message. The msgPtr must not be NULL. The reference count of the message is not touched. The reference previ- ously held by the interpreter is now held by the caller of the function and it is its responsibility to release that reference when it is done with the object. Which functions of a channel driver are allowed to use which bypass function is listed below, as is which functions of the public channel API may leave a messages in the bypass areas. Tcl_DriverCloseProc May use Tcl_SetChannelErrorInterp, and only this function. Tcl_DriverInputProc May use Tcl_SetChannelError, and only this function. Tcl_DriverOutputProc May use Tcl_SetChannelError, and only this function. Tcl_DriverSeekProc May use Tcl_SetChannelError, and only this function. Tcl_DriverWideSeekProc May use Tcl_SetChannelError, and only this function. Tcl_DriverSetOptionProc Has already the ability to pass arbitrary error messages. Must not use any of the new functions. Tcl_DriverGetOptionProc Has already the ability to pass arbitrary error messages. Must not use any of the new functions. Tcl_DriverWatchProc Must not use any of the new functions. Is internally called and has no ability to return any type of error whatsoever. Tcl_DriverBlockModeProc May use Tcl_SetChannelError, and only this function. Tcl_DriverGetHandleProc Must not use any of the new functions. It is only a low-level function, and not used by Tcl commands. Tcl_DriverHandlerProc Must not use any of the new functions. Is internally called and has no ability to return any type of error whatsoever. Given the information above the following public functions of the Tcl C API are affected by these changes. I.e. when these functions are called the channel may now contain a stored arbitrary error message requiring processing by the caller. Tcl_StackChannel Tcl_Seek Tcl_Tell Tcl_ReadRaw Tcl_Read Tcl_ReadChars Tcl_Gets Tcl_GetsObj Tcl_Flush Tcl_WriteRaw Tcl_WriteObj Tcl_Write Tcl_WriteChars All other API functions are unchanged. Especially the functions below leave all their error information in the interpreter result. Tcl_Close Tcl_UnregisterChannel Tcl_UnstackChannel SEE ALSO
Tcl_Close(3), Tcl_OpenFileChannel(3), Tcl_SetErrno(3) KEYWORDS
channel driver, error messages, channel type Tcl 8.5 Tcl_SetChannelError(3)
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy